<!DOCTYPE html>
<script src="../../../resources/js-test.js"></script>
<script>

description('Test that new WebKitMutationObserver is the same as new MutationObserver.');

var noPrefixObserver = new MutationObserver(function() { });
var prefixObserver = new MutationObserver(function() { });

shouldBeTrue('noPrefixObserver instanceof WebKitMutationObserver');
shouldBeTrue('prefixObserver instanceof WebKitMutationObserver');
shouldBeTrue('noPrefixObserver instanceof MutationObserver');
shouldBeTrue('prefixObserver instanceof MutationObserver');
</script>
